<template>
  <div class="container1">
    <div class="logo">
      <img src="../../assets/login/logo.png" alt=""/>
    </div>
    <div class="title-box">
      <div class="company">{{"校安精灵——" + projectName + "应用项目配置平台"}}</div>
    </div>
  </div>
</template>

<script>
  export default {
    props: {
      projectName: {
        type: String,
        default: ""
      }
    }
  }
</script>

<style lang="scss" scoped>
  .container1 {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    height: 70px;

    .logo {
      overflow: hidden;
      /*padding-top: 10px;*/

      img {
        /*display: inline-block;*/
        width: 48px;
        height: 48px;
        overflow: hidden;
      }
    }

    .title-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 3px 30px 3px 12px;

      .company {
        font-size: 24px;
        font-weight: 600;
      }

      .company-zh {
        font-size: 14px;
        font-weight: 400;
        color: #333;
        letter-spacing: 0.2em;
      }
    }
  }
</style>
